package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ItemModelDTO {
    @ApiModelProperty(value = "项目id")
    private Long itemId;

    @ApiModelProperty(value = "项目名称",required = true)
    @NotBlank
    private String itemName;

    @ApiModelProperty(value = "项目管理员ID",required = true)
    @NotNull
    private Long managerId;

    @ApiModelProperty(value = "项目管理员姓名",required = true)
    @NotBlank
    private String managerName;

    @ApiModelProperty(value = "项目图片地址")
    private String itemImgUrl;

    @ApiModelProperty(value = "创建人姓名",required = true)
    @NotBlank
    private String createBy;

    @ApiModelProperty(value = "项目纲要")
    private String outline;
}
